package com.bwie.service;

import com.bwie.service.impl.IUserServiceImpl;
import com.bwie.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author 军哥
 * @version 1.0
 * @description: TODO
 * @date 2025/3/24 13:09
 */


@Service
@FeignClient(value = "server-pay-user", fallback = IUserServiceImpl.class)
public interface IUserService {

    @PostMapping("/user/index/getUserById/{userId}")
    public R getUserById(@PathVariable("userId") Integer userId);

}
